#!/bin/bash

# abort on errors
set -e

cp h5_scripts/* unpackage/dist/build/h5/

# navigate into the build output directory
cd unpackage/dist/build/h5

# if you are deploying to a custom domain
echo '520.ncucoder.com' > CNAME

git init
git add -A
git commit -m 'deploy h5'

git push -f git@gitee.com:hsowan/lover-prattle.git master:h5

cd -